package cn.richard.main

import android.view.View
import cn.richard.base.util.RouterHelper
import cn.richard.base.view.BaseActivity
import cn.richard.main.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding>(), View.OnClickListener {

    override fun getLayoutId(): Int = R.layout.activity_main

    override fun initView() {
        mBinding.onClick = this


    }

    override fun initData() {

    }

    override fun onClick(view: View?) {
        when(view?.id) {
            R.id.btn_pic_list -> {
                RouterHelper.startPicCategory()
            }
        }
    }
}